package com.woniuxy.microsportsserver.sleepmag.service;

import com.woniuxy.common.bean.PageDto;
import com.woniuxy.microsportsserver.bean.SleepAnalysisInfo;
import com.woniuxy.microsportsserver.bean.SleepInfo;

import java.util.List;

public interface ISleepService {

    PageDto findAll(SleepInfo sleepInfo, Integer pageNum, Integer pageSize);
    //近一年深睡浅睡的平均数
    List<SleepAnalysisInfo> findAvgSleepValue();
    //睡眠时间占比
    List<SleepAnalysisInfo> findSleepPercentage();
}
